package edu.sctu.practice.class02.luohui.test07;

/**
 * Created by asus on 2015/10/14.
 */
public class WuMingFen {
    String theMa;
    int quantity;
    boolean likeSoup;
    public WuMingFen() {
        this.theMa = "酸辣";
        this.quantity = 2;
        this.likeSoup = true;
    }
    public WuMingFen(String theMa, int quantity, boolean likeSoup) {
        this.theMa = theMa;
        this.quantity = quantity;
        this.likeSoup = likeSoup;
    }
    public WuMingFen(String theMa, int quantity) {
        this.theMa = theMa;
        this.quantity = quantity;
    }
    public void check() {
        System.out.println("面码：" + this.theMa + "\n粉的分量：" + this.quantity
                + "(两)" + "\n是否带汤：" + (this.likeSoup == true ? "是" : "否"));
    }

}
